/<template>
  <div>
    <van-card
        v-for="(item, index) in children_list"
        :key="index"
        num="2"
        price="2.00"
        :title="item.title"
        :thumb="item.img"
        @click="gotodetails(item)"
    />
  </div>
</template>

<script>
export default {
    name: 'My_footer',
    props: {
        children_list:Array,
        default:()=>{
            return []
        }
    },
    methods: {
      gotodetails(item) {
          this.$router.push({path:"/details/"+item.id,params:item})
      }
    }

}
</script>

<style>

</style>